package com.example.demo.person.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.person.pojo.Person;
import com.example.demo.person.dto.AdvanceQueryPersonDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonMapper extends BaseMapper<Person> {

    //@TenantDataScope(tableName = "person", colName = "tenant_id")
    List<Person> listByAdvanceQuery(@Param("queryParam") AdvanceQueryPersonDTO queryParam);

}
